import { request } from '../request';

export async function getCompany(userId = '1791042975562428418') {
    return request.get<any>(`/sys/user/getWxUserDeparts?userId=${userId}`, {}, {
        useErrMsg: true
    });
}


export async function logOut() {
    return request.get<any>(`/sys/logout`, {}, {
        useErrMsg: true
    });
}




